//
//  ABNavigationBar.h
//  AmountBody
//
//  Created by Qiu Jishuai on 2018/1/2.
//  Copyright © 2018年 RCMTM. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Constants.h"

@interface ABNavigationBar : UIView

@property (nonatomic, strong) UIButton *leftButton;
@property (nonatomic, strong) UIButton *rightButton;
@property (nonatomic, strong) UILabel *titleLabel;

@property (nonatomic, copy) VoidBlock leftButtonTaps;
@property (nonatomic, copy) VoidBlock rightButtonTaps;

/**
 default YES   如果为YES, 点击自动pop
 */
@property (nonatomic, assign) BOOL useDefaultReturnBehavior;

/**
 default YES   如果为YES, 在栈底时自动隐藏左侧返回按钮, 需要在addsubview之前设置
 */
@property (nonatomic, assign) BOOL hiddenLeftWhenInStackBottom;
@end
